Skip to main content

FlowScript Constructors

An object defining constructors for the FlowScript class.

FlowScript(name, workflowData, workflowCodeInstance)

Constructor for the FlowScript class. Initializes a new instance of the FlowScript class.

Parameters:

name (required): string
The name of the flow object.

workflowData (required): IRuntimeWorkflowData
The workflow data associated with the flow object.

workflowCodeInstance (optional): IWorkflowCode
The optional workflow code instance.


FlowScript(name,workflowData,workflowCodeInstance)

Initializes a new instance of the FlowScript class with a name, workflow data, and workflow code instance.

Parameters:

name (required): string
The name of the script step.

workflowData (required): IRuntimeWorkflowData
The runtime workflow data.

workflowCodeInstance (optional): IWorkflowCode
The workflow code instance to use.


FlowScript(name,workflowData,workflowCodeInstance)

Initializes a new instance of the FlowScript class with a name, workflow data, and workflow code instance.

Parameters:

name (required): string
The name of the API step.

workflowData (required): IRuntimeWorkflowData
The runtime workflow data.

workflowCodeInstance (optional): IWorkflowCode
The workflow code instance to use.